Added RegisterProtocolHandler
Adapted the dialer logic
Added a test html document