private boolean responseHeaderFirstByteNotPassed(byte first) {
        switch (first) {
                // h2
            case 'h':
                // HTTP1.x
            case 'H':
                return false;
            default:
                // Unknown first byte data.
                NetBareLog.w("Unknown first response header byte : " + first);
                break;
        }
        return true;
    }
Detect the plaintext packet header to determine is it the HTTP protocol.

@author Megatron King
@since 2019/1/31 16:13
netbare-core/src/main/java/com/github/megatronking/netbare/http/HttpHeaderSniffInterceptor.java