add withSocketsDo (for windows environments)