- fixed hard-coded protocol 'http' in lazyInit to support https based servers with custom ports.