Status code response handlers

Allows use of custom responses for status codes (404, 500 etc.)