Added connection handler to server