A simple example of how to connect to completion server using sockjs.