Fixed buffer error, was attempting to send null terminators to the socket and this was not the intended use. Now all of the buffer is cleared and set to 0 before being populated and then is passed back, correctly terminating the string and getting rid of extra bits.