Fix settings.from_stream(): support optional defaults section