bind server socket to loopback