Feature/create client

Can we add some validation here and in the AUTH_HEADER lines to make sure that the SECURE_SETTINGS include the proper values? Otherwise the later calls will fail with an unauthorized error or a connection failure, which will be harder to debug.