Reg up plus

Enhance connectivity reliability; fix client object_device examples; add object_location implementation; pure lwm2m_malloc() & lwm2m_free() usage, add client arguments for more convenience local/server port configuration with defaults matching to eclipse leshan.
I already tried to push this kind of changes but @dnav donesn't find it convenient for running both client & server on the same computer, he wants to use copper for querying the client.
Anyway I don't  think binding the server on the COAPS port isa good idea, a lot of people try to use wakaama vs leshan and they connect the COAP client on the COAPS port of leshan

maybe run the server on 15683?