Well, I got it sorted out. Eventually I just had to modify the original client a little bit to make it connect to localhost instead.