tcp: nicer args in onConnection