History repeating: How the Internet of Things is failing to learn the security lessons of the past