Adding http_response_code to php version < 5.4