Clean up fake error handling.
Add some doc comments.
Move a private function below the public ones.
Clarify the content place-holders.
Add HTTP request helpers to the API client.
Drop a superfluous error return.
Add some doc comments.
Fix up a few error messages.
Use path.Join instead of fmt.Sprintf.
Drop support for insecure HTTP clients.
Add tests.