Merge pull request #9 from tcpcloud/mos9

MOS9 compatibility