Buffer data and split on delimiter for received data, fixes #4

Signed-off-by: Eli Skeggs <eskeggs@globesherpa.com>