Allow loginit() to be delayed, store loglog() data in intermediate buffer and flush it out when loginit() is called

util.c:
- handle loglog() before loginit() by storing the lines into an expanding buffer
- when loginit() is called, write out and kill the buffer

network.c:
- push loginit() to the point where we know the actually used port
Fixed bad code in nTox.
Forgot an else.
Merge pull request #588 from FullName/LoggingPreInitStoring

Allow loginit() to be delayed, store loglog() data in intermediate buffer...
Fixed bug in Lossless UDP.
Fixed bug in Lossless UDP.
Increased the size of the UDP buffers.
Small fix in Lossless UDP.
Fixed bug.