Add useragent

I tested the other ones by changing the hostname and endpoint to a requestbin and running a quick example app. Could @kunal732 or @scottmotte have a go at it when you get a chance please? I have no idea how to php.