Add in optimization

This was needed to browserify the `http` module

https://github.com/joyent/node/blob/v0.10.33-release/lib/net.js#L527