Fixed a bug in the line-by-line file reading funciton where the trailing newline was not stripped
Fixed a bug in header_decoder where packets that didn't include the knockcode would cause the server to segfault