A simple TCP server framework in go (golang)