Add command/response codecs and serialize messages to strings