Add some doc comments.
Fix up a few error messages.
Use path.Join instead of fmt.Sprintf.
Drop support for insecure HTTP clients.