where socket is net.createServer(function (socket) {