Allow setting timeoutInterval for POST requests.

Added an optional parameter, `timeoutInterval`,  to `post()`. If the parameter is not null and can be cast to a float greater than zero, it is used as the timeout interval for the POST request.