[GLib] More net library bug fixes.