Fix bugs
fix for no more io.sockets.socket()