add user-agent customization

Hi.
Old versions could do it as far as I remember.