Implementing a proper user-agent