XEP-0065 Implementation Broken

There are two minor bugs in plugins/xep_0065/proxy.py:

1. Line 91 references an undefined variable "conn" (causing a NameError).
2. "deactivate" tries to remove the sid from "self._sessions" though this is already handled by "sock.close()" (causing a KeyError)