improving custom send() function

send function will now accept both array and string inputs (working with
ASCII protocols is much easier now)