A substitute for the python logging SocketHandler that does no pickling