New code from lwip project

lwip-contrib repo:
55d09ae fixed warnings in unix port; use the same compiler settings in all 3 projects; use echo.c from apps and removed duplicate from unix/proj/minimal
8806c1e fixed compiler warnings