application can connect to battle server via ws