Pass lock to socksAcceptLoop by reference

This fixes a bug where we were passing the lock by value to
socksAcceptLoop.
4 jobs for master in 27 minutes and 39 seconds (queued for 1 minute and 43 seconds)
Status Job ID Name Coverage
  Test
failed #7277
android

00:12:24

passed #7280
debian-testing

00:09:12

passed #7278
go-1.13

00:03:03

passed #7279
go-1.14

00:02:58

 
Name Stage Failure
failed
android Test
log
gomobile: go build -v -buildmode=c-shared -o=/tmp/gomobile-work-230636426/android/src/main/jniLibs/armeabi-v7a/libgojni.so ./gobind failed: exit status 2

Running after_script
Running after script...
$ echo "Download debug artifacts from https://gitlab.com/${CI_PROJECT_PATH}/-/jobs"
Download debug artifacts from https://gitlab.com/tpo/anti-censorship/pluggable-transports/snowflake/-/jobs
Cleaning up file based variables
ERROR: Job failed: exit code 1