Modified documentation and Java test to add snippet to create the proxy.