FLUME-2533: HTTPS tests fail on Java 6

(Hari Shreedharan via Jarek Jarcec Cecho)