added hxcpp protocol