use wss:// for websocket if over https
Merge pull request #373 from zack-dt/ngConsole

use wss:// for websocket if over https