First pass at dxcpp refactoring
  - All handler classes now in namespace dx
  - dx::config created for keeping global config params (previously g_* variables)
  - Configurable user agent string
  - Some other small changes