Fixed one possible bug in the DHT and added a basic TODO list.

Fixed a possible segfault which could have been cause by handling an
empty packet.