Great Sock! @JackSock ousts Dimitrov in three-set thriller