if (channel == null)
{
throw body.getChannelNotFoundException(channelId);
}
MethodRegistry methodRegistry = session.getMethodRegistry();
// We don't implement access control class, but to keep clients happy that expect it
// always use the "0" ticket.
AccessRequestOkBody response;
if(methodRegistry instanceof MethodRegistry_0_9)