Now uses an instance of ClientConfiguration for creation of client -
ready for Spring integration.