Upstream: https://github.com/facebookincubator/SocketRocket
Revision: 36e68c11ab131747c401728e79b110e98d98a70f (0.5.1)
Only SRWebSocket.h/.m; Apache 2.0, license included.
Compiled with ARC in a separate translation unit; application remains MRC.
Upstream target iOS 6.0. BiliLight keeps the iOS 5 build target; iOS 5 live
WebSocket runtime compatibility is a device-validation gate, not established
by compilation. Certificate validation is enabled; never enable untrusted TLS.
Local compatibility patch (2026-11-07, Build 273): NSHTTPCookie,
NSMutableURLRequest and NSURLProtocol class sends use NSClassFromString.
The iOS 9 linker SDK otherwise binds them to CFNetwork, but iOS 5 provides
those Objective-C classes in Foundation; direct imports cause dyld failure.
CFHTTP C APIs, SSL settings and certificate validation remain unchanged.
Device crash evidence: audit/v4-implementation-20261107/ios5-crash/.

The unused NSMutableURLRequest (SRCertificateAdditions) setter category is
omitted: category metadata itself otherwise retains a direct class import.
The base NSURLRequest getter is inherited by mutable requests.
