Set max conn for https agent
Fix ssl private key management for old node version