Parses host from uri