updated server part to latest version of spec

- fixed version in pom.xml
- fixed missing method in MessageEncoder (impl of Encoder.Text)
updated client to latest version of spec

- fixed version in pom.xml
- adjusted endpoint to changed class names in spec
- refactored static variable usage to constructor parameter