Fixed warnings when compiling with clang; and made the echo server actually work.