code: public final static boolean validHandshakeType(byte handshakeType) {
          switch (handshakeType) {
              case RTMPConnection.RTMP_NON_ENCRYPTED:
              case RTMPConnection.RTMP_ENCRYPTED:
              case RTMPConnection.RTMP_ENCRYPTED_XTEA:
              case RTMPConnection.RTMP_ENCRYPTED_BLOWFISH:
              case RTMPConnection.RTMP_ENCRYPTED_UNK:
                  return true;
          }
          return false;
      }
docs: Returns whether or not a given handshake type is valid.
  
  @param handshakeType the type of handshake
  @return true if valid and supported, false otherwise