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

Work with keystone behind haproxy