api: logging ; /api/ping method ; more unit-tests ; IP-address logging