Checks for proxy handler arguments

Proxy handler functions' standard arguments are now checked a bit more
thoroughly in the tests.

Also added a note about a Firefox bug regarding proxy inheritance.