This commit fixes #88

Implements the last step of 3-way handshake

Signed-off-by: Ivo Calado <txithihausen@gmail.com>
Signed-off-by: João Correia <lucaskm98@gmail.com>