Get sockets working cross domain