Added bind_sock function.

bind_sock(sock, port):
	Description:
		Takes a socket and a port, and binds the socket to the port.
	params:
		sock: the socket to bind
		port: the port to bind the socket to