add secure option to socket io connection