add rudimentary server element
link stack command to server element
fix bug in tcp buffering; add server element