call methods in context of rpc so that permissions() is accessable to the api methods
1.0.0
use pull-goodbye
use pull-goodbye to ensure that streams are closed safely
ignore strings
2.0.0