Corrected the use of the Splunk API

To use receiver.Attach, you must use the returned Stream object to post
further data.
Merge pull request #184 from ChrisHimsworth/master

(Splunk Sink) - fix use of the receiver.Attach()