Created a mock server class to simplify testing the server handler.
Added permission validation when publishing/subscribing.
Cleaned up Hub.
Validated that client certificate is not an authority certificate.
Modified to use EventLoop for scheduling instead of HashedWheelTimer.