tests: partial revert of 4627bc1e90fd17c8d4f44de6b932d456b67661fc
Python's socketmodule isn't able to construct sockaddr when it doesn't
recognize the address family. Until this is solved in python let the
tests use the compatibility way to create divert(4) socket.