add deprecation for wait_accept, make accept() more backwards-compatible