new future and refactor

add socks4, http tunnel, http proxy support. Just FOR IE...
refactor config format
refactor partial code