added winsock hook