Fix #153: ':/' being sent as '/'

The problem was that the code that converts '//' to '/' was only checking if the second character was a '/'.