Validate outgoing message length at client
Remove race condition involving server hello message