[GLib] Bug fixes in ConnectionChannel.