Use native header()
JSON - PHP 5.3 compatibility