code: @Override
      public WebSocket onCompleted() throws Exception {
          logger.trace("onCompleted {}", webSocket);
          if (webSocket == null) {
              logger.error("WebSocket Handshake Failed");
              status = Socket.STATUS.ERROR;
              return null;
          }
          TransportsUtil.invokeFunction(TRANSPORT, decoders, functions, Request.TRANSPORT.class, name(), TRANSPORT.name(), resolver);
          return webSocket;
      }
docs: {@inheritDoc}