THRIFT-1755 Comment parsing bug

Patch: Brian Brooks & Jens Geyer
THRIFT-1944: Binding to zero port
Client: cpp
Patch: Akshat Aranya