Make launcher Java 1.6 compatible (getContentLengthLong() is 1.7 only) - still works fine, unsure if it matters much