Decoupled protocol handling from request/respose handling to prepare for supporting http1.1
Added support for http1.1 using joyent's http parser