Get predicted socket location

Currently doing something similar myself.

Not quite there yet, but I found some interesting sources: