repaired forwarding of data from server to client to also include non-text data