[#1099] Fix ProxiDriver in order to compile with JDK 1.7 and JDK 1.6