Fixed minor issues with build_heartbeat_packet()