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
Implemented encrypt_data_fast, decrypt_data_fast and crypto tests
Added crypto_speed_test
Ensure encrypt_precompute is called when status == CONN_ESTABLISHED
Merge remote-tracking branch 'upstream/master' into pr