Updating the server to properly send the response length.