allow calling rpc() without headers and whithout message