Fixed issue with port being returned as part of the host name from parse_url().
Fixed issue in Hasher::generateUnique() where $seed was unused if provided.