Hostname valdation should happen while entering the details for Websynergy driver. Now it accepts invalid characters and
when the portlet app is deployed at runtime a browser page opens and error popup "www.google.com not found"
HostName accepts "null" too
Hostname will be localhost and the field is disabled as currently the plugin can be used only with local server.