Python interface for mt4 terminal, using sockets