........S. [ZBX-8040] multiple fixes:
* renamed TCP_EXPECT.. defines to ZBX_TCP_EXPECT...
* moved validation functions to the file where they are used and changed them to static
* fixed IMAP validation
* added 201 response to NNTP validation and fail if the first code is not 200/201