Refactoring getHostIdentifier and adding some extra logging
Merge pull request #497 from facebook/host-ident-sig

Refactoring getHostIdentifier and adding some extra logging