Handling socket level errors in socketio/node.