Update client_spencer.c

Made alterations for UDP compatibility.