Added MemoryIdSource to HTTPRepository

Very simple fix related to #42 issue.