Adapt the new Wire protocol to the network stack.

With the new wire proto in place, we can now adapt the network stack with its
semantics to the newly formed wire protocol. There are still some loose ends which
needs to be addressed, but the overall situation is much much better than what we
had earlier on.