Map BufferUnderflowException to EOFException in ByteBufferInputStream