inspired by the POC from @chekolyn
* Adds a new requirement on websocket-client
* Add a new class WSClient that uses WebSocketApp from
the websocket-client.
* Make sure we pass Authorization header
* Make sure we honor the SSL settings in configuration
* Some of the code will get overwritten when we generate
fresh classes from swagger definition. To remind us
added a e2e test so we don't lose the changes
* Added a new configuration option to enable/disable failures
when hostnames in certificates don't match
Fixes#58
Use hitch tls proxy to listen on 8443 port and forward the
traffic to 8080. Add a configuration option to ignore any
issues with host names as we don't generate the cert on the
fly.
Port a bunch of tests from python-k8sclient repository. There
is a script that starts a real instance of kubernetes and
the tests are executed against it.
Note, if you just have k8s accessible in your localhost:8080, the
tests still run. so you don't really need to run "py27-functional"
which runs the kube-init.sh
Also, 2 API calls fail currently, i've added a TODO so we can
dig into them and fix them