Fix for issue #5. Backslashes should be encoded to play safe with java.net.URI