Java: allow to ping proxy for quick test

This is adopted from Silverlight version of the proxy page, it will allow user to quickly test if the proxy page has been setup correctly in the web server.

http://<servername>/<foldername>/proxy.jsp?ping

then it will return "Reply from proxy" with 200 code

idea from @jgravois