handle absence of real network interfaces
API for changing epoch calculation function
100% test coverage