Improved socket documentation. Fixed #95