Set proxy port when force https is enabled