Import changes from CVS

"Patches from grawity; bug fix for galed socket binding; failed attempts
to make the glib adapter in liboop happy"