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.
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: 79cef5a5a257cc9dbe40a45ac190115b4780e2d0@1530989 13f79535-47bb-0310-9956-ffa450edef68

apache/tomcat,apache/tomcat,apache/tomcat,apache/tomcat,apache/tomcat,Nickname0806/Test_Q4,Nickname0806/Test_Q4,Nickname0806/Test_Q4,Nickname0806/Test_Q4