bring back SELF_USER_AGENT (refs #540)