do not use coap_get_mid.
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
Merge branch 'master' into deregister-with-transaction

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

Conflicts:
	core/registration.c