Portable SPDY implementation in ANSI C