add stand-alone simplex

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
moved network flow

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
move network flow code

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>