replaced http agent with lib