Create socket proxy