Merge pull request #4 from mhils/master

Add __iter__ to ODict
Add getcertnames, a tool for retrieving the CN and SANs from a remote server.
Merge branch 'master' of ssh.github.com:cortesi/netlib
Minor cleanup of http.parse_init* methods.
Handle non-integer port error in parse_init_connect correctly
Unit test for ODict.__iter__
Basic certificate store implementation and cert utils API cleanup.
Generate certificates with a commencement date an hour in the past.

This helps smooth over small discrepancies in client and server times, where
it's possible for a certificate to seem to be "in the future" to the client.
Sanity-check certstore common names.
adding read timestamp to enable better resolution of when certain reads were performed (timestamp is updated when the first byte is available on the network)
Merge pull request #7 from rouli/master

Adding read timestamp
renaming the timestamp in preparation of other timestamps that will be added later, adding tests
Merge pull request #8 from rouli/master

Improving timestamp feature
Fix client cert typo.
Beef up client certificate handling substantially.
Improve error signalling for client certificates.
Extract TCP test utilities into netlib.test
Streamline netlib.test API
Introduce the mock module to improve unit tests.

There are a few socket corner-cases that are incredibly hard to reproduce in a
unit test suite, so we use mock to trigger the exceptions instead.
Bump unit tests, fix two serious wee buglets discovered.