read stream features after starttls or compresion
Merge pull request #40 from esl/fix-stream-features-for-stattls

read stream features after starttls or compresion