A compatibility library for the php 5.4 function http_response_code