simplified consume (no longer requires 'content-length'), and made wget not send empty post data on get requests