netutils/libcoap : bug fixes for CoAP over TCP
This commit is patch for bug fixes for CoAP over TCP
1. patch for memory leakage issue
- some pdus are not freed when coap_send returns COAP_INVALID_TID
2. add waiting routine on libcoap-server
- waiting until g_operating_status is SERVER_STOPPED state
- duplicated libcoap-server process can cause abort during long-run test
3. add debug logs for further tracing
Change-Id: Ib1173a6f24691eebae5860727227d85c09972ef3
Signed-off-by: Jin-Seong Kim <jseong82.kim@samsung.com>