Workaround for the TLSv1 bug.