Negotiate websockets correctly
Negotiate websockets correctly

That is, use wss:// (i.e. TLS websockets) when we're talking over a non-unix
socket.

Signed-off-by: Tycho Andersen <10c18fcb898ee6b17d6575d444b125d10b3f4d6a@canonical.com>

yura-pakhuchiy/lxd,tych0/lxd,beni55/lxd,atxwebs/lxd,beni55/lxd,techtonik/lxd,atxwebs/lxd,basvanbeek/lxd,mikemccracken/lxd,lxc/lxd,jumpstarter-io/lxd,stgraber/lxd,atxwebs/lxd,hallyn/lxd,smoser/lxd,dustinkirkland/lxd,erikmack/lxd,rcj4747/lxd,ericsnowcurrently/lxd,Skarlso/lxd,techtonik/lxd,lxc/lxd,mjeanson/lxd,ericsnowcurrently/lxd,basvanbeek/lxd,chrisglass/lxd,mjeanson/lxd,stgraber/lxd,stgraber/lxd,achanda/lxd,achanda/lxd,erikmack/lxd,beni55/lxd,mikemccracken/lxd,hallyn/lxd,chrisglass/lxd,dvbportal/osx-lxd,mjeanson/lxd,jsavikko/lxd,tych0/lxd,rcj4747/lxd,benaryorg/lxd,pcdummy/lxd,sl1pm4t/lxd,ericsnowcurrently/lxd,stgraber/lxd,Malizor/lxd,yura-pakhuchiy/lxd,rrva/lxd,erikmack/lxd,jsavikko/lxd,akshaykarle/lxd,ollie314/lxd,dvbportal/osx-lxd,jumpstarter-io/lxd,atxwebs/lxd,ollie314/lxd,hallyn/lxd,sl1pm4t/lxd,achanda/lxd,dustinkirkland/lxd,Skarlso/lxd,rrva/lxd,georghopp/lxd,rrva/lxd,lxc/lxd,smoser/lxd,jensg-st/lxd,jumpstarter-io/lxd,georghopp/lxd,Malizor/lxd,stgraber/lxd,lxc/lxd,Skarlso/lxd,pcdummy/lxd,jsavikko/lxd,techtonik/lxd,sl1pm4t/lxd,chrisglass/lxd,lxc/lxd,akshaykarle/lxd,lxc/lxd,mikemccracken/lxd,tych0/lxd,dustinkirkland/lxd,pcdummy/lxd,jensg-st/lxd,Skarlso/lxd,hallyn/lxd,benaryorg/lxd,rcj4747/lxd,basvanbeek/lxd,jensg-st/lxd,benaryorg/lxd,dvbportal/osx-lxd,smoser/lxd,Malizor/lxd,stgraber/lxd,akshaykarle/lxd,yura-pakhuchiy/lxd,lxc/lxd,hallyn/lxd,ollie314/lxd,georghopp/lxd,stgraber/lxd,hallyn/lxd