Removed Jersey servlet dependency, replaced with own implementation.