Designing Fairness in Autonomous Peer-to-peer Energy Trading