Ask WMS servers to provide errors as XML.

Instead of returning a "no data" image.

Fixes #291.