also record payload byte size of php