Templated inet accept functions