Removed double shift

[pbuffer]
- added pbuffer_consume to eat the beginning of the buffer

[tlv]
- use pbuffer_consume

Thanks to SJ
Merge remote-tracking branch 'upstream/master'

Conflicts:
	tlv.c