Fix private endpoint availability checks
Merge pull request #4 from ironcladlou/dev/v2_wip

Fix private endpoint availability checks