Add a couple pieces to retrieve status via TCP socket
Make changes necessary to retrieve device status over the TCP socket
Get device status via TCP socket, remove most cURL code