Added socket server section + minor corrections.