Add index method to Publisher
Make http classes smater