1070585: GUI no longer locks on connection test. Adds cancel button.

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1070585

Those values are returned, no need to set the instance variable and return it.

Just make parse_proxy_entry return the (host, port) tuple