THRIFT-2320 Program level doctext does not get attached by parser

Patch: Craig Peterson & Jens Geyer
cpp: TSSLServerSocket should use THRIFT_SOCKET