Made SockJS server an interface