Update to netty 4.0.0.CR1 and also flush only if needed
Merge pull request #12 from normanmaurer/master

Some improvements for some more speed ;)