reworked message receiving a bit

Signed-off-by: Jan Dvořák <mordae@anilinux.org>