Using openStream() to read Payload contents (1.8.x)

1.8.x version of #49