Fixed bug with surrogate pairs in the UserAgent string
Small refactoring
Merge pull request #1 from asherepa/master

Fixed bug with surrogate pairs in the UserAgent string