ENH/API: allow customization of requests thru opener

closes #4927