Finalized user-agent header, fixes #1