title: Cost of secure websocket vs. unsecure websocket
body: <p>I am currently developing a browser-based multiplayer game which is using WebSockets. My highest priorities are low latency and compatibility with a wide range of plattforms and network setups.</p>
  
  <p>But I am doing password authentication. I also have a chat function and I consider the privacy of my players to be important. So I thought that I could maybe improve security and privacy by switching to websockets over TLS. My questions are:</p>
  
  <ol>
  <li>how will TLS encryption of the web socket connection affect performance? Note that I am frequently sending very small but very important messages.</li>
  <li>will wss:// work in any environment where ws:// works or will I need a fallback mechanism?</li>
  </ol>
  
  <p>Or would it maybe be wiser for my use-case to implement encryption on the application level?</p>