Finished TLS support for afsocket lua config.