added buffer_fwd_offset() so I don't have to alloc mem to ignore some chunk of a buffer
fixed memory leaks