fix hostname in payload
fix fileno
Merge pull request #1 from benctamas/master

"play" payload fixes