title: Can I/How do I access client side cookies through a websocket connection to a twisted app?
body: <p>i have a simple twisted application, with the websockets module. the application is serving a lineReceiver protocol, and i'd like to inspect the contents of incoming connections, including seeing which cookies are set on them, something like this:</p>
  
  <pre><code>class Echo(basic.lineReceiver):
      def connectionMade(self):
          print "Got new client!"
          #print request.cookies
  </code></pre>
  
  <p>is it possible for me to access request (client-side) cookies from a protocol that's served over websockets? if so, how do I do it?</p>