fix jdk 6 support

use reflection to find the HttpURLConnection.setFixedLengthStreamingMode
that supports a Long length. Fallback to Integer if that's not
available. Throw an exception if the requested length will overflow an
Int.

removed oraclejdk8 from travis compilation for now because scala
2.9.2 doesn't produce compatible byte code

closes #39