Fix removeNameSpace parsing problem

removeNameSpace cannot work correctly when there are more than one
white space after XML decaration in response message. Fix it.