THRIFT-2388 GoLang - Fix data races in simple_server and server_socket

Patch: Chris Bannister