Added a HTTP error message generator (Untested)