Try this code:

http://www.javaprogrammingforums.com/java-code-snippets-tutorials/185-how-grab-html-source-website-url.html

It will spoof the connection tricking Google into letting you in. I...