public void doStart() throws Exception {
final ReflexiveInterceptor loginServiceInterceptor = new ReflexiveInterceptor(loginService);
server = createAsyncChannelServer();
server.setAcceptListener(new AcceptListener() {
public void onAccept(Channel channel) {
RequestChannel requestChannel = null;
try {
SyncChannel syncChannel = AsyncToSyncChannel.adapt(channel);
SocketMetadata socket = (SocketMetadata) syncChannel.narrow(SocketMetadata.class);