added max_packet_length to handle drupal admin site.  fixes #1