Write support of php_http > 2.x