Provide some helpers to configuration files
@spec host_from_uri(String.t() | nil) :: String.t() | nil