Worked on the server some more. Data is getting sent, but socket read is blocking until socket stream is closed