This diff is a part of the stack.
This diff introduces changes to move the creation of the internal thread for the AMQP client inside the init() function instead of using it outside and repeating the code in the main server.cpp and AMQP tests in test/AmqpManagerTest.cpp because of we need to initialize AMQP thread and connection on tests too.
Creating init() function following the existing approach that AWS-CPP client already uses. We are callinginit() to initialize AWS thread/client.
Related linear task: ENG-1495