JCLOUDS-410 note that ByteArrayPayload needs to handle offsets.