Auto-register all method in an interface.
Register a delegate to be called on reception of a request matching 'method'.
TId = The type used to identify RPC request.
TRequest = Request type, must be an IRPCRequest.
TResponse = Reponse type, must be an IRPCResponse.
An RPC server that can register handler.