Man guilty of raping sex worker