Text this: Design and Implementation of a Hardware Versatile Publish-Subscribe Architecture for the Internet of Things