A useful webpage for the gtp protocol is: http://www.lysator.liu.se/~gunnar/gtp/

It has the full specification and information regarding the protocol and how it works and is available in different formats (HTML, LaTeX, Postscript, PDF)

-Josh