Read message length and payload from the peer