add socketIO and use http and https modules