CLOUDSTACK-7572: Fix regression from 156bd9b

In case the configured consoleproxy url domain does not start with *
use the work mode 3 as recommended in the doc:
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Realhost+IP+changes

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>