Test socket messages