Adding setters that allow extending classes to set the secure and unsecure port number for socket connections. This is useful when using the library in a test environment where you want to make socket connections through a proxy.