Connect / Disconnect

From both server and serial port

Signed-off-by: Oz Ramos <labofoz@gmail.com>