socket server written in Go