added proxy support

#6