Add snprintf utility function.
Increase client receive buffer, switch command handling to use snprintfcat.