Added string conversion functions for enums

TODOD: Mapping from String -> ConnectionState not complete yet