Fixed Request null termination problem.

md5sum a.out
7c4e860231e8fc675d8004facc8e7e1d  a.out

After pushing the request handling functionality into the thread and
redoing some of the logic, it is no longer neccesary to manually
null-terminate the read request string.

By doing so the ability to handle non data requests was lost, but this
has been fixed.