added multipart send and recv for strings and byte arrays