fix the docs build process
add a method for getting the list of connected peers