Fix addRequest when request history is full

The request history is added by pushing to the end of the array, when it is full it needs to delete the oldest one.  It was incorrectly deleting from the end of the array, it should delete from the beginning.

Thanks,

Eric