refactor general functions into Helpers module so they can be used elsewhere, start parser for Server Hello