code: private void createUrl(String accessToken, String apiKey){
          wsuri = new Routes().getWsuri().replace(":access_token", accessToken).replace(":api_key", apiKey);
      }
docs: Creates url for websocket connection.