programmer/gdbserver: implement extended remote

This allows use of `target extended-remote :1234', which in turn allows
use of the gdb command `run', which will reset the system.