Move MagnetLink.parse_url to utilities