update Netty to 3.6.5.Final and protobuf to 2.5.0, and update code to support last nerry and protobuf