Make use of Java 5 constructs

Mostly automatic refactoring done through static analysis.
ssl-proxies: Remove redundant test on hash map insertion

The intention was probably to only insert if the cert was not already
present in the map, however the test is redudant as the map cannot
contain duplicates anyway.