title: basic authentication for websockets
body: <p>When I create a new websocket using chrome</p>
  
  <pre><code>new WebSocket('ws://gert:passwd@127.0.0.1:8001/dbname')
  </code></pre>
  
  <p>The nodejs server receives</p>
  
  <pre><code>GET /dbname HTTP/1.1
  Upgrade: WebSocket
  Connection: Upgrade
  Host: 127.0.0.1:8001
  Origin: http://127.0.0.1:8000
  Sec-WebSocket-Key1: '  5 5) 4 1e   a9 9 0 19
  Sec-WebSocket-Key2: 3000909100 Q
  </code></pre>
  
  <p>How can I retrieve gert and passwd?</p>