code: @Override
    public boolean isSecure()
    {
      if (_s == null || _sslSocketClass == null)
        return false;
      else
        return _sslSocketClass.isAssignableFrom(_s.getClass());
    }
docs: Returns true if the connection is secure.