Bug fix: lwm2m_list_remove(), list may be empty.
Send Deregister to servers on lwm2m_close(). Handle Deregistration messages.