only rekey if user specified rekeying in config
move stuff around... get rid of flow, API is now in engine.ml
handshake utils used in both client and server are now in handshake_common_utils
config is the configuration - since it is used in client/server and also engine, I put it into a separate file