Revert "Revert "new codec API""
finally I want the new API :)

This reverts commit 28b2c9197ed8f14bf784b15ec48136886a81084f.
Merge branch 'trunk' of https://git-wip-us.apache.org/repos/asf/mina into trunk
trying new codec idea, apated HTTP codec for using it
make example HTTP server works
Merge branch 'trunk' of https://git-wip-us.apache.org/repos/asf/mina into trunk