PECL function available for PHP 5.2 throws an error with the provided argument.
Added fallback for header_remove in PHP 5.2
Replaced version sniffing by feature check for header_remove() fallback.
Use constant defined by Symphony for PHP version check
Merge pull request #1830 from siimsoni/master

PHP 5.2 compatibility fixes