requests: add match_pattern method, improve doc (#9)