Bugfix: added argument validation and null-values handling in method
Request::preparePostData()