1. forward packets between driver and ms sql server
2. refine code a little
3. todo:
   based on tds protocol on http://www.freetds.org/tds.html#login7,
   the packet starts with 0x01 contains sql query after first byte.
   need more investigation.