Fork no longer maintained. Please use https://github.com/ahmedbodi/stratum-mining