WebDriver should use localhost when host is empty

Change-Id: Id5ae961c396a9b80ba60c267b61d4ebccfc083a6
Fix: Atomikos fails on hosts with long names

Change-Id: I48a92c63883ff558dcaa58c7428c9527dadb9067