Parses the URL-host (not the url) e.g. www.github.com , lb1.www.some-cool-domain.co.uk , 127.0.0.1 , 2001:0db8:0:0:0:0:1428:57ab
Distributed under the terms of the MIT license. Consult the provided LICENSE.md file for details
(C) 2016 Martin Brzenska