Kill EOF whitespace.
Extracted repeated code into a function
Moved some checks around
Changed the way statusmessage is allocated
Introduced data pointer and data_length
Merge pull request #412 from cbrueffer/misc

Kill EOF whitespace.
Returned the length check
Merge pull request #413 from nurupo/master

Cleanup of Messenger.c
network_registerhandler
networking_poll: DHT_bootstrap_daemon
Updated initMessenger
fixed typo: handle_ping_request -> handle_ping_response
core/substrate.h wasn't supposed to be here
Fixed possible bug.
networking_poll: receivepacket(&ip_port, data, &length) == -1
tabs -> spaces
Merge remote-tracking branch 'upstream/master' into pr
handle_ping_response function signature correction
Merge pull request #415 from slvr/pr

Beginning to centralise packet handling