Upgrading to io.netty-3.6.6.Final. Also fixing some unit tests
Merge pull request #462 from opuneet/issue461

Upgrading to io.netty-3.6.6.Final. Also fixing some unit tests