added extensibility to socketio module