Stratum server implementation using Python Twisted