basic http connection in pubsub