Added unicode support and allowed mroe than one attempt at posting data to the server.