Refactor request using generator. fixed #1

* co-urllib.request is generator 
* test on travis ci
* 100% compatible with urllib api