config.rb: set default port based on @ssl