Use WebDriverExceptions to throw CurlException

( for some reasons :p )