fixes #153 - allows 0 to be used as a hostname. fuck you @gambogi