[TASK] Add simple write function to TCPSocket class.