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