clean read buffer before read
add shaTest

SHA1 use unsigned char
clean server read buffer