Make SSL optional and increase timeouts.