code: @Override
      public AsyncHandler.STATE onStatusReceived(HttpResponseStatus responseStatus) throws Exception {
          if (handshakeOccurred.get()) {
              // onOpen only called once
              if (protocolEnabled && ++count == 1) {
                  status = Socket.STATUS.INIT;
              }
              return super.onStatusReceived(responseStatus);
          }
          return STATE.CONTINUE;
      }
docs: {@inheritDoc}