fix to work with Streaming API v1.1 (refs #5)