Some database stuff
Parse received buffer in case it contains multiple commands