Fix for enhancement NMS-5435
Refactor UrlFactory and adding basic support for HTTPS to the XML Collector.
Merge branch '1.12'

Conflicts:
	protocols/xml/src/main/java/org/opennms/protocols/http/HttpUrlConnection.java