Proper HTTP Request recieving

md5sum a.out
e2c2ea64c53f365d4cfc07c7e9fc3df0  a.out

Modified accepting code to use the content length for endpoints that use
data as a way to tell if there is more data to be recieved or not. This
should prevent us from sending connection reset by peer errors to
clients connecting.