setup sslocal config.json listen localhost 1080 port

install polipo

add next line into etc/polipo/config:

service polipo restart

int console use:

export http_proxy=http://localhost

ok!

ex:https://github.com/clowwindy/shadowsocks/wiki/Convert-Shadowsocks-into-an-HTTP-proxy