Encrypted protocols are often not fully encrypted, and expose enough to determine the nature of the traffic, if not the content. Even TLS, leaving Server Name Indication (SNI) unencrypted. Fortunately there is work underway to encrypt SNI. Also, in the TLS case, domain fronting (asking for e.g. google.com from the discriminated service, to fool filters) has become one tool to evade SNI-based attacks.