request and response class implementation of php_curl added