Fix signature of PHP IPConnection callbacks