Minor enhancements

Two changes in here: one to support timeouts on the API (default: 60 seconds) and one to support PUT and PATCH calls better.