Prevent a Lua error if output file cannot be opened when logging SSL keys. Report a warning instead with the error description.
This script can be used through a http-request rules to log SSL keys for traffic on a dedicated frontend. The resulting file can then be injected into wireshark to decipher the corresponding network capture.