encode POST BODY to utf-8. fixes crash when POST-ing unicode text