I've been using both those features for a while with my own Nextcloud server
Simply select "On the Network" when adding a calendar, set a user name and enter the remote dav location. For address books use "Add CardDAV Address Book", also username and dav location.