Added HOME and END handling

Hi Salvatore,  a little patch I made for something that bugged me a lot when working with redis-cli...