Event register/unregister functions that use the glib event loop. This makes libwww fit nicely into just about any gnome or gtk+ program.

This code may be useful for other people wanting to use libwww with gtk. 
