Changed read_msg_fd() to always use send_msg()/rwrite() instead of