ispdy: handle EINVAL in keepalive/nodelay