removed duplicate max_stream storage to avoid mixups (Fixes #40)