Refactored SocketService. Extracted Output data into HeaderData Folder.