Getting ‘friends which have benefits’ try infamously messy – nevertheless need not be. Here’s how