add socket lib macro from http://www.gnu.org/software/autoconf-archive/ax_lib_socket_nsl.html