Refactored rpc handler
Refactored rpc handler
Made rpc_handler a dispatcher only.  Moved Http stuff to caller.