add debug mode: establish reverse SSH tunnel if asked by server
Merge branch 'feature_debug_mode'