Generate the origin from an URL or check if two URL/Origins are the same.
Small footprint URL parser that works seamlessly across Node.js and browser environments.
Check if a protocol requires a certain port number to be added to an URL.