Add SSL capabilities
Added the posibility to use SSL encrypted conenction using https. Can be activated with user supplied certificates or using adhoc generated certificates. The adhoc certificates do not have a valid chain of trust, therefore the generated certificate has to be accepted.