Added support for parsing remote URLs