Socket: refactor to use a generator instead of get_sockets()
Socket: refactor to use a generator instead of get_sockets()

Replace get_sockets() by _iter_sockets(). This method is not part of the
public API

philpep/testinfra