updated createmessage class according to https://github.com/Rubykuby/con...

...taining/wiki/XML-Protocol