configure: check for socks.h header; include it if available and requested.