Create sockets.h

our custom socket implementation