change binary response handler content type matching to a regex for more flexibility