make tomcat more long-poll friendly
DOL-99 use Groovy 2.2 and automatic coercion