Add standard HTTP status code messages and redirection functionality