RPC: Separate out JSON-RPC processing; prepare for HTTP REST processing.
Add unauthenticated HTTP REST interface, for querying block/tx data