Workaround TeamCity not properly escaping continuation URLs

TeamCity does not escape the '+' character in the sinceBuild field
when providing a nextHref. This code fixes it up and provides a less
catastrophic failure when we don't get a valid status code.