cache head/body response
add method to discover micropub endpoint
build_url is now a public method
getAccessToken returns array instead of object