allow expected_value to accept arbitrary dicts
add POST support and refactor socket classes
fix results conversion
bug fix -- should return (exception, None) when encountering connection error as a tuple is expected
add MetadataWrite ResourceMethod for internetarchive