Made 'public' so HTTP RPC plugins can use this.
Pushed more functionality up into AbstractHttpQuery.

Error response handling and logging.