Replaced accept function of BrewPiSocket to read function, which also reads the message from the socket and splits it.