tests: add optional setsockopt() output on Python 3
Tests still don't pass. But this gets us a little closer.
Differential Revision: https://phab.mercurial-scm.org/D5699
ERROR: FIXME: This is a known failure of filelog.size for data starting with \1\nOK.