Convert proxy_port to integer if provided as string