WIP: Tests: API: Datagram unit-tests
Small fix for potential null-buffer read, and unit-tests for the datagram implementation.
Re-opened from github/kovri#1012.
Brings test coverage for client/api/datagram.cc
to 100% function / 81+% line coverage.
Edited by oneiric