Got the Twitter auth working and seperated the proxy as a class for reusing if necessary.