Fixed handling of remote party ending in Session.end()

Ignore-this: b8e4feadcd060b9f2a02ebe69c52b6a8

darcs-hash:20090828133311-1e3d8-0c2fba15935616c795c84b3506f08c9277446c7e