Adds support for 'find_master' connection flag

Adds support for 'find_master' connection flag