YARN-2841. RMProxy should retry EOFException.  Contributed by Jian He

(cherry picked from commit 5c9a51f140ba76ddb25580aeb288db25e3f9653f)
YARN-2841: Correct fix version from branch-2.6 to branch-2.7 in the
change log.

(cherry picked from commit 58e9bf4b908e0b21309006eba49899b092f38071)