added multipart req/reply, merged code with Eric's, fixed warning from
using 256 instead of 255 for generate feature reply