Added listener to keypress to allow enterpress for triggering proxy