Expose (optional) https endpoints, user logger instead of console.log