Does anyone know how to use gnutls with the glib main_loop so the ssl socket IO doesn't block the gtk+ gui? Do you know about any opensource software that already uses gnutls with the glib main_loop I can take a look at?