* Speed up HEAD

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@23502 3ad0048d-3df7-0310-abae-a5850022a9f2
* Implemented a HEAD class method

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@23503 3ad0048d-3df7-0310-abae-a5850022a9f2
* Close connection on one-shot operations

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@23504 3ad0048d-3df7-0310-abae-a5850022a9f2