I'm a bit worried about this case. Humans tend to equate a trailing slash with the lack of a trailing slash, so this might end up causing some heartache for people that give a path like "http://localhost:4002/", fully intending the default path to be used.