title: Websocket connection closes with 1006
body: <p>when the size of the websocket frame is more than 50MB, then the socket connection closes automatically. I am not sure why there is a size limit?</p>
  
  <p>I am using Javascript Websocket. Is the client closing the connection or the server disconnects from the client? </p>
  
  <p>This happens for only large size. Smaller chunks works fine. </p>
  
  <p>Can someone throw some help here?</p>