Make use of allocator in WebSockets. Part of #910
Use Allocator in SPDY. Part of #910