HMAC_Update(s1) before proceeding with va_list
Fix usage of strcmp() and add missing brake statements
Fix srecv() and add error handling to it and ssend()