Public & Internal endpoints supports

This Pull request aims to support 2 endpoints:
* one in the north, exposed to public network
* one in the south, exposed to internal network

This is part of High Availability refacto, started by @Spredzy a few months ago.

Bug #237