Issue #54 - Use host info from referer request hdr

Use host info from referer request header
Merge pull request #61 from daveegrant/master

Issue #54 - Use host info from referer request hdr