Both server and client are now exchaning parameters and generating their keypairs