Add headers arg to TestConnection.request()

To better match the real HTTPConnection class (and friends).