added ILogger interface and few other socketio changes