libmemif: add support for custom buffer-size and headroom in icmp example app