TEZ-1082. Fix the mechanism used by the Fetcher to check for an open
connection when draining the error stream. Contributed by Rajesh
Balamohan
TEZ-1085. Leave env values unchanged if they aren't set on the client.
Contributed by Rohini Palaniswamy.