check curl result for return value 'false'

If curl_multi_exec returns false (probably because curl handle has already been closed with curl_multi_close) the method checkCurlResult did not throw an exception. I modified comparision of $code to type-strict to also throw an exception when $code === false.