Beginning of winsock networking api.