Fix local url host for IE. Add ALLOWED_HOSTS check.

Fixes #20
Merge pull request #23 from incuna/fix-ie-local-host

Fix local url host for IE. Add ALLOWED_HOSTS check.