Fixing host parsing, RE: kestred’s comment.