REFACTOR Client to extract common stackMode functionality
REFACTOR Client to extract common stackMode functionality

telefonicaid/iotagent-thinking-things,telefonicaid/iotagent-thinking-things,telefonicaid/iotagent-thinking-things