added a way to get and send Bytes through the sockets