lib: rename parseHeaders => parseKVs
spdy: refactor