ws: Fix race while closing in CockpitSshTransport

The exit-signal or exit-status SSH packets often race with the
close channel packets. We need to wait for them. Add a timeout
during which we wait for exit-signal or exit-status after both
the incoming and outgoing close packets have been received.

Caught by Valgrind and Travis CI

Closes #520
Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
Signed-off-by: Marius Vollmer <marius.vollmer@redhat.com>
* Moved a comment
Send notifications to #cockpit when travis builds

Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
ws: Use right printf format for limiting string length

Closes #524
Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
web: Release DockerClients.

Also, don't assume that DBusClients are ready when we get them.

Closes #514
Use port 1001 by default to connect to cockpit-ws

Port 1001 is so much easier to type and remember. It's unassigned and
below 1024.

Closes #526