Added support for sending POST parameters.