Add proxy support.

Add proxy support relative to #8.