Bug fixes with preceding commits

Fixed a comparison that resulted in the logger never being created

Changed form xml serialization to binary as Dictionary is not supported
by xml seriliazer

Added a temporary certificate for the ssl connection