Fix spki_table_get_all deadlock
Rename spki_record_cmp and add socket check.

spki_record_cmp -> key_entry_cmp
	key_entry_cmp: Now compares the socket too.
Rewrite spki_table_src_remove to support the changed key_entry type.

The spki_table_src_remove function needs testing.
Add test for spki_table_remove.
Merge branch 'rfc6810-bis' of github.com:rtrlib/rtrlib into rfc6810-bis