Fix memory corruption bug in lpc socket handling.

The data structure moves around due to RESIZE(), so we can't
pass pointer around.