initial work on ws proxy