patch by Pieter Grimmerink: properly skip space when reading in services