Change localhost to 127.0.0.1
Merge pull request #34 from Metaswitch/no-localhost

[Reviewer: Andy] Change localhost to 127.0.0.1