Fix to work when keystone is behind haproxy
Use new helpers to get hostnames for endpoints
Merge pull request #39 from vuntz/haproxy

Work with keystone behind haproxy