Why not just assign across different ports? Seems like a straightforward solution.

My guess is that they want to keep the url clean.

I have seen that port technique used in NAT servers.