still need to process replies from send_message
receive_message finally added with an array of bytes
get replies working better now, with raw byte arrays