get socket.io to work on both iOS and Android