server-side socket support