Libdoc: Handle incoming links where spaces are encoded as `+`.

Fixes #1797.