Not using Apache HttpClient any more (not directly, anyway)
Supplying environmentName parameter during construction.