Added https option for server