Assuming it's a 4, you could probably use LibreELEC. There is a plugin for moonlight game streaming.
Kodi, a very popular and highly extensible Media Center which acts as the GUI of LibreELEC, can play just about any media.
Airplay seems to be supported as well.
There is a plugin for Netflix, however note that you will be limited to 720p since you can't use widevine levels above l3.