Feature/user agent

Add userAgent and referer, should fix #2