Add support for setting a custom TLS Record Layer