Change send to use const unsigned char *