rpc: HttpHandler: catching more exceptions
rpc: json: fix protobuf json decoding