making SECURESYNC_PROTOCOL a settings, so debugging becomes easy