Now connect() will return immediately. Later on, when the socket is actually connected, it will call GSocket::on_connected from the event loop. :^)
LibGUI is slowly becoming LibKitchensink but I'm okay with this for now.