Set endpoint path correctly for in-container websockets