Small tweak to Q.Socket interface