[fix] remove console.dir and make ws proxying configurable