[transport] updated server to use the transport class for rabbitmq