- Chomping some bad input to prevent early session termination
- Removed unused buffer
- Removed some comments from logging