Core/NetworkIO: Fix performance loss when handling bad packets

Revert f9cb4280bd8f1c29e4acbae5339bce40c3b52bcb which retrieved the callstack each time a ByteBufferPositionException or a ByteBufferSourceException occurred, for example with bad packet structure.
Merge branch 'master' into antidos