code: public boolean useEncryption() {
          switch (handshakeType) {
              case RTMPConnection.RTMP_ENCRYPTED:
              case RTMPConnection.RTMP_ENCRYPTED_XTEA:
              case RTMPConnection.RTMP_ENCRYPTED_BLOWFISH:
                  return true;
          }
          return false;
      }
docs: Whether or not encryptions is in use.
  
  @return true if handshake type is an encrypted type, false otherwise