Support for IPv6 and Non-standard ports

IPv6 urls are formatted with '[' and ']' around the host and
the port actually shows up after the trailing ']' as well. So
we need to allow for better support for both ipv6 and non
standard urls when dealing with both SOAP and WSDL urls.

Examples:
   https://[fd2e:1201:1d9f:0:8886:78e0:38cd:cb03]/sdk
   https://[::1]:9443/sdk/

Closes-Bug: #1287292

Change-Id: I84ab38087ea77a30f6082d8c3fae0341e3371a78
replace string format arguments with function parameters

There are files containing string format arguments inside
logging messages. Using logging function parameters should
be preferred.

Change-Id: I456f411ad6ca46a8c8de442c74c18276faca920e
Partial-Bug: #1321274
Merge "Support for IPv6 and Non-standard ports"
Ensure port support does not break backward compatibility

Commit a76bd253fb4fa54c72d3440f2345642b209b5f41 added the ability
to pass a port to the session creation. This broke the existing
support as the port was not passed to the session creation.

The solution is to move the port to an optional parameter with default 443.

Change-Id: I4bbcc0dba3ab930cfb0abca0b9894ca534747327