Major enchancement to network part. One bug when running with multiple peers: when one looses connection, this automatically trigs the other network connections to fail - however they instantly reconnect. This has probably something to do with syncronize-barriers when adding data to send buffer.