removing socket.io, connecting popcorn via json-rpc working