rpc/http constify method_name
rpc/http: allow the user to throw a messsage