Use int instead of short for proxy port