Framework to easily send data over sockets