Add padding if payload length is zero