router crashed several times on the day:

Program received signal SIGSEGV, Segmentation fault.
0x0000000000406950 in message_log (nad=0x654270, r=0x624010,
    msg_from=0x64db40 "<email address hidden>/Chelny-14",
    msg_to=0x6581c0 "<email address hidden>/SARATOV-4") at router.c:1158
1158 router.c: access denied.
        in router.c

fix this problem and slightly modified logging format:
1. ISO8601 timestamps
2. space as field delimiter
3. character 0x01 for replace line endings in messages (simple code)

https://bugs.launchpad.net/jabberd2/+bug/1033826

fix https://github.com/jabberd2/jabberd2/issues/29 ([router.c:1206]: (error) Resource leak: message_file)