Fix for IE losing anchor URL parts

Manually merged from
https://github.com/AlexGalays/abyssa-js/commit/7af95ad602179634b3cb9eb8260477b30c24f525
- added fixes for the `host` and `protocol` properties which should be
checked instead of `hostname`.