add secure socket as default transport and set the default port based on 'X-Forward...