do not use coap_get_mid.
Use CoAP transaction for deregistration

Client deregistration is now performed using a CoAP transaction.
It was previously done without, so no retry were performed, even
if the DELETE were a CON message.
Support for registration update

Registration update can be used for keeping NAT route open
For now the registration update nothing in the registration
parameters, it just send a PUT on the registration path.
Implementation of sms, lifetime, binding params

They are appearing in both server object and server registration.
fix weird behave in opaqueToInt function
Merge pull request #10 from domedambrosio/master

TLV opaqueToInt error
Merge pull request #3 from sbernard31/msgid

do not use coap_get_mid.
Fix compilation for server side.

Signed-off-by: David Navarro <david.navarro@intel.com>
Merge pull request #8 from eclipse/more-server-param

Implementation of sms, lifetime, binding params
Send the deregister message even if an update or registration is pending.

Signed-off-by: David Navarro <david.navarro@intel.com>
Merge branch 'master' into deregister-with-transaction

Signed-off-by: David Navarro <david.navarro@intel.com>

Conflicts:
	core/registration.c
Merge pull request #7 from eclipse/deregister-with-transaction

Use CoAP transaction for deregistration and implement registration update
bootstrap, first step implementation

You can add a bootstrap server, and trigger a bootstrap.
A 'bootstrap' command is added to the client.

Bootstrap doesn't use a transaction because currently transaction.c
works only with lwm2m_server now.
Bootstrap won't work now because the bootstrap server will try to DELETE
the whole /1/ hierachy and provision new servers which is cleary not
supported.