Introduced network logging

Adds network logging of API calls. Good stuff.