Add function aliases to provide compatibility with Twisted < 11.1 (eg. RHEL6 has 8.2).