added comment(for document).
added comment for yardoc
use proxy if it exists.