proxy driver implementation (beginning) + dahuapp.js adaptation