Added function to read a line from a TCP socket
Cleaned up
Fixed out of range index for Array when adding Null Termination
Added response code parsing
Added function to read response from server