a tiny tcp proxy for network simulation (same as mongobridge.cpp)