Python LPD8806 simple TCP server, ported from my C++ implementation for mbed