Added User-agent logging

There are some `undefined` requests which cannot be reproduced in the browser. Added User-agent logging in case the issue is OS specific. :spaghetti: