Add sockjs dependency, server and client entry code