fix(console) access to socket before it loads