parameterize the socket base url