Tidying up. :)
Made recvall more resilient vis-a-vis socket errors.