change protocol, use XML pattern for response messages