Rather than only be able to pause websocket message, pause entire calls to event handler so that we can also pause the socket.onclose event handler.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1530989 13f79535-47bb-0310-9956-ffa450edef68