Fix ups for Range requests.
Fix double onEnd call.
Simplify SimpleFuture to allow returning of a result and an exception (WIP)

Change-Id: I03ad9ae5b9f7a351db90e44f623acc61d1ff4aeb