How to create a tunnel through a proxy

How to create a tunnel through a proxy(http or sock5)? The old version suport it。 I can’t do it in the new version。

I wrote an simple guide to explain how to connect though a proxy in Core Tunnel:

Feel free to comment in that post.