updated documentation for STOMP 1.2 and improved encoding.