Fixed core.websocket for node.js