resolves https://issues.apache.org/jira/browse/STREAMS-60
updated per pull request feedback
License headers