fix - field location

remove field `stateIndex` from `AbstractProtocolDecoder ` super class
to `HttpDecoder` sub class
fix - style

use two blank line
fix - style
new - deserialize api
new - RpcDecoder