added a pubsub endpoint, with code from bitly/nsq

here ya are