Added socketsender functionality