The role of synaptic transmission in a HIV model with memory