TheVoid: Fixed behaviour on 400 and 404

If http request is invalid we should send 400 error code and
close TCP connection.
If handler is not found we should read all the data and wait for
next http request.