GTP server and client implementation.