Changed to use chrome native messaging instead of websockets