Code is currently broken, working on 3 way handshake, currently deadlocks