add requesthandlerregistry to server