Moved decls out of BUILD_TEST #ifdef
Removed test code from parse.c
quickie s replace
Ensured g_io_channel encoding is NULL
Added easy output functions for server