http: optimize outgoing requests
http: optimize outgoing requests

This commit does some small optimization changes on
`lib/_http_outgoing.js`. These include switching from `while` loops to
`for` loops, moving away from `util` to `typeof` checks, and removing
dead code. It also includes variable caches to avoid lookups and
generic style changes. All in all, much faster execution.

It gets an across the board increase in req/sec on the benchmarks,
from my experience about a 10% increase.

PR-URL: https://github.com/iojs/io.js/pull/605
Reviewed-By: Ben Noordhuis <59bd0a3ff43b32849b319e645d4798d8a5d1e889@bnoordhuis.nl>
Reviewed-By: Nicu Micleușanu <7ba6b26002a178c6e17098ff478119ed69b20e64@gmail.com>
Reviewed-By: Christian Vaagland Tellnes <2314b2e3a4a1f7db165be2aafbf1efd78f28cc97@tellnes.com>
Reviewed-By: Brian White <d8bbf19083844493ef08581d1c38fbc50ba5d18b@mscdex.net>

dreamllq/node,dreamllq/node,dreamllq/node,dreamllq/node,dreamllq/node,dreamllq/node,dreamllq/node,dreamllq/node,dreamllq/node