Expose getcurrentnet and getbestblock to HTTP POST.

This commit makes the getcurrentnet and getbestblock RPCs available to
clients making HTTP POST requests.

Closes #127.