demultiplexe reqeusts
serialize MsgHandshake correctly