fix configuration validations
send a request on a different thread
manually set content length