Added rc_deinit_dtls()
rc_send_server: handle EAGAIN and EINTR
dtls_sendto and recvfrom will set errno appropriately for EINTR and EAGAIN
DTLS: added rc_check_dtls() which checks the channel using heartbeat messages