net/client/server: fix connections on startup