Scala Collector: Return an optional cookie domain. (#441)
Scala Collector: Test the cookie domain. (#441,#433)