Adding exiting packet type
Fixing pk_recv to receive exactly one packet
Adding handshake