Small tweaks to Q.Socket interface