stream: add mongoc_stream_ismaster() convenience function.