fixed to obtain the client's name, if the caps node contains https
Merge pull request #132 from liuch/master

fixed to obtain the client's name, if the caps node contains https