added support for custom default ssl / non ssl ports for RTHttpClient