A pure python twisted protocol for building DICOM network clients and servers