I would argue that the protocol should in fact be included when matching the URL, and it is thus behaving as expected. The content can differ between different protocols and ports. Whether that's something you'd actually be likely come across, well.. not really. The content is usually the same.