Split out is_local_path function to separate module uris module
Extract HTTP URI detection to uris module