ensure proxy port value is an integer