Allow for third argument in file dict value to support explicit
file content type.
Fixing test to ensure it passes with python 3.
Make merge_kwargs case-insensitive when looking up keys.
Retrieve kwargs.keys() just once.
Initial SSLv3 adjustments