fixing socket docs