fix: compile fixes for gcc 4.7
examples: updated examples to match INET 2.1