Added javadocs on ISocket