updated CTP client and server for CTP/1.0 spec