fixed compatibility issues with Contiki 2.7 net api
Merge pull request #1 from andreaazzara/master

fixed compatibility issues with Contiki 2.7 net api