twisted.web.server.StringTransport's should perhaps be merged/refactored

Description

twisted.web.server.StringTransport in some sense duplicates twisted.test.proto_helpers.StringTransport, is rather incomplete, and probably has corresponding implementations elsewhere. It might be worth seeing if we could have one canonical string transport useful for both real code and tests, with the full transport API actually supported.