Respond to proxy requests properly (try fix #1212)

Try to fix #1212 by responding to a proxy request with an `Invalid Request` error on the browser end instead of no error and an error on the server logs.
Meteor style is to use semicolons.