ByteBufferInput read method don't use offset / Wildfly cannot load persistent session data

see JBMAR-163 https://issues.jboss.org/browse/JBMAR-163