Remove deprecated methods. Remove useNio. 
nio connector is now the default in Tomcat 8