fixed bug of not passing proxy port to connection pool