Fix a bug in WMS 

The http port was not considered when rendering the WMS map, leading to a connection error when the source is loaded in the TOC.