tiny c wrapper around bsd-winsock