added some small bug fixes related with added extensibility of socketio