add client certificate support for https
Merge pull request #3 from BillLeecn/client-certificate

add client certificate support for https
fix the build
update travis
fix the travis