Check for <sys/socket.h> in configure.

Avoids redefinition of SHUT_* constants in config.h fragment provided
by AX_PLATFORM.
Merge pull request #92 from riastradh/check-for-syssocketh

Check for <sys/socket.h> in configure.