Imagine being able to put on a hat that reads your brain’s electrical activity and helps you surf the Internet.