let peer connect async. add basic test for peer.
use different port to allow parallel tests
flush before sock is connected
test add state. test fetch state.