Snake on websocket - tomcat 8