move MSG_MAXIOVLEN check out of configure.ac
explicitly include sys/socket.h
Merge remote-tracking branch 'lsalzman/master'