Add sendResponse method in ThreadSock.cpp to send SMTP response codes