extract the autodetect-parent logic of incoming messages into the Message model
add autodetection of replies to incoming messages from Netcast gateway