MTProtoMessenger: added server mode support.