Re-defined function declaration to accommodate parameter changes introduced with smart-HOP and latest Contiki version.

General error fixes.

Disabled TCP to reduce ROM size

TODO: ipv6/rpl-udp/udp-client ROM overflow 144bytes