set ENCODING and VALUE parameters of PHOTO elements. This enables Android devices to correctly interprete the photo.
only set parameters on PHOTO if a PHOTO property actually exists
Merge remote branch 'fork/mstilkerich/master' into dev
translate http status code to lowercase and then compare to "200 ok"
check if status starts with "http/1.1 200 " to be more conform to rfc2616 section 6.1.1
fix syntax error in PHOTO handling that surprisingly resulted in correct PHOTO handling...
Merge remote-tracking branch 'upstream/dev'