Write support of php_http > 2.x
Add missing define
Add some glue to generate output similar to 1.x serie of php_http
Add support for PECL HTTP serie 2.x, and keep compatible with 1.x