Add support for more retvals on certain responses, create initial Polling functionality.