Added port and use_ssl to config