[#debug] - introduced a DEBUG_MODE const, which switches off remote API server SSL authenticity check