Add support of websocket proxying.
Fix tomcat logic related to BZ 822250.