Parsing of hostname added.