impl parsing of the client hello packet