bridge, ws: An empty "problem" in a "close" message is a problem

A missing "problem" is a success. If the "problem" is present no matter
what it's content, then that denotes a problem.

Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
bridge, base ws: Add the "eof" control message and change "close"

The new "eof" control message indicates the end of data in a channel
in a particular direction. It is relevant together with specific
payloads and affects their behavior. It may only be sent once per
direction, and after that point no more messages may be sent in
that direction.

The "eof" provides handshake interlocking for the success case for
payloads where this is necessary.

There is also no longer a "close" handshake. Either end can "close"
a channel, and the channel is considered closed immediately. In the
case of races, further messages are ignored.

Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
common: Fix uninitialized memory access in CockpitTransport

Closes #1531
Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>