[minor] TLS conf for api client
[minor] refactor client Do() into separate function to handle auth for all
[minor] a simple command line client, the beginning of something great
[doc] client package example