add headers for request to fix userAgent not work.
add userAgent test
Merge pull request #6 from xiaojue/master

add headers for request to fix userAgent not work.