FC-2839 Add canonical lib, reference the environment config for canonical domain/protocol settings