Add more APIs in master_slave_connection to mimic mongo_client

 Include close, server_info, _cache_credentials, _purge_credentials