further improvement/simplification of callback and timeout handling
incerased parser timeout to 20s (because of ocr service)
using build in encodeUriComponent to encode url parameters