I've made changes related to Sec-Websocket-Extension changed to permessage-deflate to for websocket connection establishment with the server running on Tomcat 8.0.23, because the support for "x-webkit-deflate-frame" is removed in this version and hence we couldn't connect to server.