to delay these options until the socket is confirmed to exist
to make it more compatible with chrome app sockets