Wrap http requests in one method, add ssl support

* Wrap HTTP requests
* Add SSL support, see #24, #26
* Fix python style, see #25

This PR need code review and tests in situation.
Thanks