winsock.m4's functionality can be replaced with AC_TRY_LINK

rsavoye thinks that m4/winsock.m4 is useless and it can simply be replaced with AC_TRY_LINK.

Furthermore, rsavoye thinks that m4/winsock.m4 is broken here:

    for ac_lib in '' -lws2_32; do