Add support for enum types

All str types are sent to the server as the pg type 705 'unknown'. Any
unrecognized type comming back is assumed to be a string.