Improved handling of User-Agent: Should be able to omit.
Merge pull request #228 from mikaelwikman/master

Remove User-Agent if empty or Nil