NULL terminate the buffer received from TLSRecv(..)

assert_string_equal(..) fails because the received string is not null terminated
Merge pull request #1073 from awsiv/master

NULL terminate the buffer received from TLSRecv(..)