fixes #6162 - fixed websockify hidden denial

(cherry picked from commit 93006b8248357354474b288610da5fb4a17f3dcb)