Allowing setting WS endpoint