Added to Authorizer the functions authorizePublish and authorizeSubscribe

References #20.