Following a recent change in websocket proxy code
(commit: fdb73a2d44),
novnc console access is not working for IPv6 addresses.
This patch fixes the issue by taking into account the way
IPv6 urls are constructed and parsing them accordingly.
Closes-Bug: #1456963
Change-Id: Ia6c50be1e3cbe8a21f0a75b6a7cebd1712d311f8