Cleaned up ServerSocV2 + Add Comments

Cleaned up code and added more descriptive comments to help explain each part.