Using Encoder With WebSocket in Java EE 7