http: do multi curl in request to get code & headers
http: do multi curl in request to get code & headers

+ put closing of multi to separate method
+ raise exc when select returns -1

vrutkovs/osbs-client,twaugh/osbs-client,pbabinca/osbs,TomasTomecek/osbs,twaugh/osbs-client,pombredanne/osbs-client,DBuildService/osbs-client,jpopelka/osbs-client,bfontecc007/osbs-client,TomasTomecek/osbs,projectatomic/osbs-client,bfontecc007/osbs-client,projectatomic/osbs-client,DBuildService/osbs-client,pombredanne/osbs-client,jpopelka/osbs-client,pbabinca/osbs,vrutkovs/osbs-client