Extract AS::Notification in a separate method

I like short methods and short lines of code.
@stavro how about extracting `instrument` into its own `send_http_request` method?

The rest looks great, I just need to run the test suite.
I think with this addition we might even get rid of that `p as_curl`!