Implemented proper disconnecting of client and server when one leaves

Signed-off-by: Cory Feitelson <cfeitelson@roovy.com>
Merge branch 'master' of https://github.com/feitelsonc/Amp