Add config option to print stack traces of exceptions in packet readers