title: Python websocket-client WebSocketApp proxy not connecting?
body: <p>I'm trying to use proxies with a python WebSocketApp included in the websocket module. However, whenever I use this code,</p>
  
  <pre><code>ws=websocket.WebSocketApp('ws://echo.websocket.org:443')
  ws.run_forever(http_proxy_host='my proxy here',http_proxy_port=80, # 80 is the proxy port
      on_close=on_close) 
  </code></pre>
  
  <p>I get this in the console, and then the socket closes</p>
  
  <pre><code>Connecting proxy...
  --- request header ---
  CONNECT echo.websocket.org:443 HTTP/1.0
  
  
  
  
  -----------------------
  --- response header ---
  ## SOCKET CLOSED ##
  </code></pre>
  
  <p>Help please?</p>