Diagnostics of solar flare energetic particles: neglected hard X-ray processes and neutron astronomy in the inner heliosphere