improved check for request stream serialization