Send useragent by default
Pre-release
Pre-release
While using this library in real world tests, it seems that a lot of APIs (Github's for example) require a useragent header to be sent with a request.
It's possible to set your own headers, but this shouldn't be a required step, as just using curl
on the commandline or from PHP automatically sets their default useragent, so now this library does too.