Major fix:
Exception/Closed MySQL connections on every request #1

Minor changes:
1. clean up of white space
2. remove static method of packet write from packetBuffer and move to channelHandler as private method
3. move private method at the bottom of the class
4. remove  ALL_ROUTES defaultProxy map