added protocol URL loading ability and a test