Use application/linkformat (rfc6690) for registration of objects (LWM2M spec 8.2.3)
Remove unneeded netdb.h
Linkformat, always absolute path
Allow 0.5KB for registration payload, all those <>
Use sizeof to remove a constant.
Added LWM2M_EMBEDDED_MODE which overrides gettimeofday, malloc and free.

Author:    Toby Jaffey <toby@hodgepig.org>