Upgrading version to 1.2.1-dev
add : to valid xml_name characters; wait for correct input xml entities on start

we now no longer simply wait 10 seconds at the start, but really try to read the correct xml entities:
  <stream:stream...>...

A lot of code is currently duplicated.
move input processing loop into a function (replace 5 occurences with call to function)
Upgrading version to 1.3.0 (remove sleep's with input processing (i.e. wait for STREAM:STREAM instead of simply waiting 10 seconds))
Merge tag 'v1.3.0'

remove sleep's with input processing (i.e. wait for STREAM:STREAM instead of simply waiting 10 seconds)