Generic plugin architecture for message transport