made second_packet_timeout configurable
changed http primitive to work with pycurl library
Merge pull request #23 from iclab/TLS

TLS
resolved a commit conflict