URL-encode post fields

Using PHP5 method http_build_query() to ensure all post data is properly URL-encoded. This ensures, for example, passwords beginning with '@' are supported.