Added disconnect() method to xprotocol. Added comments to xprotocol module.