xhttp_pi: proper sizeof for memset