Utils to extract a domain from given url