Fix two memory leaks, both related to cleanup

(1) the connection did not release its sendqueue in
    xmpp_conn_release.
(2) the connection did not release its TLS context in
    xmpp_conn_release.
Merge branch 'master' of ssh://github.com/horazont/libstrophe

Conflicts:
	src/conn.c
Look for __res_query if res_query is not found

Current(?) libresolv seems to have a layer of indirection here.