AM-101 : Fix for Java 6 (URLConnection.getContentLengthLong() is java 7 only)
Let's start 1.1.0 developments