public function getRequestHandler()
    {
        $config = Config::get('paypal-ipn-laravel::request_handler', 'auto');
        if ($config == 'curl' || ($config == 'auto' && is_callable('curl_init'))) {
            return new CurlRequest(Input::all());
        } else {
            return new SocketRequest(Input::all());
        }
    }