change of protocol handling for RPC server