make executable

Signed-off-by: Meethune Bhowmick <meethune@gmail.com>
set user agent

Signed-off-by: Meethune Bhowmick <meethune@gmail.com>
cosmetic/style fix

Signed-off-by: Meethune Bhowmick <meethune@gmail.com>
Merge pull request #2 from meethune/master

Minor cleanup. Add ability to set UserAgent.