Encode target endpoint using the "Type" AMQP delivery field
Encode target endpoint using the "Type" AMQP delivery field

Prior to this change, the "UserId" field was used which causes rabbitmq
to abort the connection with a precondition failed message

achilleasa/usrv,achilleasa/usrv