Added comment for socket factory implementation