dnsproxy: added checks for overlay add failure
rosedb_tool: memleak on the exit
sockaddr: check parameters, updated doc
rosedb: cleanup