Remove import
Enable ssl3.
Merge pull request #2940 from jburel/rebased/dev_5_0/java8

Java8 (rebased onto dev_5_0)
Fix 'duplicate headers' bug in download original image
Merge pull request #2983 from will-moore/duplicate_headers_bug

Fix 'duplicate headers' bug in download original image