implement SPDY protocol layer