- fix ending up with invalid mixed proxy by explicitly setting the proxy
type in canl
- add test with rfc proxy
- add validation of the resulting proxy in tests