Update socket documentation.