Update up.flickr.com endpoint & content-length bug

Update for upload/replace end points - fixes #10
Added explicit setting of “Content-Length” for POST requests to fix #11