added (experimental) Percona support
fixed escaping issues