Fix for WMS errors. Force version to 1.1.1 and change WMS URLs to use GetCapabilties