I think it has to do with this bug :
http://bugs.gentoo.org/show_bug.cgi?id=365479
Unmerging glib-networking solved the problem and now everything seems to be functional. I'll put a SOLVED after I confirm that everything (or at least what doesn't depend on glib-networking) works properly.