proxy: optimizations to the eachHeader() function
use "longjohn" in `proxy(1)` for now
proxy: work around joyent/node#6199