Java websockets proof of concept