/* Return the proper amount of time, in milliseconds, before more data needs to
 * be sent. This is for use when you would like to do something else in the
 * intervening time period besides sleep. */
static VALUE _sh_delay(VALUE self) {