A socket server implementation for unity