Instead, make the pointer to the associated socket server a construction time const, and delete its lock. Introduces a helper class AutoSocketServerThread for code (mainly tests) which need a socket server associated with the current thread. BUG=webrtc:7501 Review-Url: https://codereview.webrtc.org/2828223002 Cr-Commit-Position: refs/heads/master@{#18047}