Add setVirtualHost to Java WS API.
Merge pull request #2703 from wsargent/ws-java-virtualhost

Add setVirtualHost to Java WS API.