Updated proxyPort to int