net: Support inclusion of <linux/socket.h> before <sys/socket.h>