I also agree that the fast talking Han messing with a hick kid is the better option.
However I have to at the same time admit that if you are going to make it actually hold up as something literally accurate then it is one of the best retcon jobs ever written to actually make it work.
Sadly it comes from one of the more painful old expanded universe series because Kyp Durron is one of the most insufferable overly perfect wonder kids ever written. Plus also being the books with the Sun Crusher which is fighting for the most overkill super weapon in all of Star Wars. Which is really saying something considering the huge range of super weapons through the franchise.