code: @Override
    public void close( final short code, @Nullable final String reason )
      throws IllegalStateException
    {
      checkConnected();
      _webSocket.close( code, reason );
      socketClosed();
    }
docs: {@inheritDoc}