Made charset selectable during Connection object creation.

This change is backward compatible since UTF8 (old charset) is used as a default value.