Main application logic

If given a url on the querystring, issue a 302 redirect to it.

If not, return an error message as text/plain.