Avoid clobbering the exceptions raised by other calls
Added guard on params with no length on callproc
Raise TypeError if the dict in callproc param contains non-strings

Check-and-conversion chain fixed and simplified. 'spname' was a
reference leak.
Added test with objects without length as callproc param