Rewrote socket port docs.