Refactor FinatraServer to allow custom tlsConfig