Fix bug in sending response body when responding to virtual requests