Added multi socket messaging support