Added implementation to accept and connect. Haven't tested it out yet though so it might die