Fixes and improvements for uIP and Contiki.