Basic auth only worked if a full url was supplied. The reason is that
BasicTransport.RoundTrip checked if the resulting request URL has a the
transport's URL as a prefix.
This is fixed by setting the transport's URL to the canonical URL that is
computed a few lines earlier.
* Allow for non-SSL access
* Reuqire --insecure option to use http protocol
* Fixed lint error
* Added --force-non-ssl option. Also moved check to allow handling of docker config