Implement reading of buffer for incoming messages

Signed-off-by: rpgmaker <olamide.bakre@gmail.com>