Remove User-Agent if empty or Nil 

Hi. 

I think that about covers it. 
I also made an entry to ChangeLog. Hope that was appropriate!

Cheers,
Mika