docs: @Override
      public void sendPacket(ProtocolHeader header, Protocol p) throws IOException {
          if(! connected){
              throw new IOException("Websocket not connected.");
          }
          String s = WebSocketSerializer.getProtocolSerializer(header, p).serializerAsString();
          if(LOGGER.isTraceEnabled()){
              LOGGER.trace("Web socket send - " + s);
          }
          session.getRemote().sendString(s);
  
  
      }