Improve exception when people directly hit the proxy, close #2204